@rem-per-px : 10 /750rem;

[v-cloak] { display: none }

.main{
  padding-top: 28*@rem-per-px;
  width: 100%;
  height: 980*@rem-per-px;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/beijing.png");
  position: relative;
  background-size: 100%;
  background-repeat: no-repeat;
}

.main__header{
  //position: absolute;
  width: 584*@rem-per-px;
  height: 224*@rem-per-px;
  background-size: 100%;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/title.png");
}

.main__content{
  width: 480*@rem-per-px;
  height: 480*@rem-per-px;
  border-radius: 50%;
  margin: 18*@rem-per-px auto 36*@rem-per-px ;
  background-image: linear-gradient(110deg,#f866c9,#C379F7);
  //background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/oval.png");
  position: relative;
}

.main__content__decoration{
    width: 453*@rem-per-px;
    height: 453*@rem-per-px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
  background-repeat: no-repeat;
  background-size: 100%;
    background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/oval.png");
}

.main__content_center{
  width: 372*@rem-per-px;
  height: 372*@rem-per-px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  overflow: hidden;
}

.main__content_center__shake{
  width: 238*@rem-per-px;
  height: 344*@rem-per-px;
  background-repeat: no-repeat;
  background-size: 100%;
  margin-left: 17%;
  margin-top:15% ;
  transform: translateX(0%);
  transform-origin: bottom;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/icon_shake.png");
}

.main__content_center__shake_play {
  animation-play-state: paused;
  animation:shake .4s infinite;
}


@keyframes shake
{
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(-30%);
  }
  50% {
    transform: translateX(0%);
  }
  75% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(0%);
  }
}

.main__button {
  height: 70*@rem-per-px;
  width: 320*@rem-per-px;
  border-radius: 35*@rem-per-px;
  display: block;
  margin: 0 auto;
  background-image: linear-gradient(90deg,#f866c9,#C379F7);
  font-size: 30*@rem-per-px;
  text-align: center;
  line-height: 70*@rem-per-px;
  text-decoration: none;
  color: #ffffff;
}

.main__footer {
  position: absolute;
  bottom: 0;
  height: 90*@rem-per-px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/pg_gosh.png");
}

.section {
  width: 688*@rem-per-px;
  margin: 0 auto;
  color: #333333;
}

.section__title{
  font-size: 36*@rem-per-px;
  margin: 40*@rem-per-px auto;
  font-weight: normal;
}

.section__desc{
  line-height: 1.5;
  font-size: 24*@rem-per-px;
  margin: 20*@rem-per-px auto;
}

.qrcode{
  width: 360*@rem-per-px;
  margin: 46*@rem-per-px auto 100*@rem-per-px;
}

.qrcode__img{
  //background: #0b2e13;
  //background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/qrcode.jpg");
  background-size: 100%;
  width: 100%;
  height: 360*@rem-per-px;;
}

.qrcode__img >img {
  width: 100%;
}

.qrcode__desc{
  margin: 18@rem-per-px auto;
  font-size: 22*@rem-per-px;
  text-align: center;
}

.coupon,
.modal{
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.coupon{
  display: none;
}


.coupon.active{
  display: block;
}

.coupon__mask,
.modal__mask{
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(10,10,10,.5);
}

.modal__box {
  position: absolute;
  width: 500*@rem-per-px;
  height: 600*@rem-per-px;
  background: #ffffff;
  border-radius: 16*@rem-per-px;
  margin-top: 200*@rem-per-px;
  left: 50%;
  transform: translateX(-50%);
}

.modal__box__qrcode {
  width: 350*@rem-per-px;
  height: 350*@rem-per-px;
  margin: 45*@rem-per-px auto;
}

.modal__box__qrcode>img{
  width: 100%;
}

.modal__box__desc {
  font-size: 28*@rem-per-px;
  text-align: center;
  color: #333333;
  margin: 20*@rem-per-px auto;
}


.modal__box__coupon {
  font-size: 28@rem-per-px;
  color: #b157ff;
  margin: 0;
  text-align: center;
}

.coupon__content{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 166*@rem-per-px;
}

.coupon__content__list{
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

.coupon__content__item {
  position: relative;
  margin-top: 6*@rem-per-px;
  width: 452*@rem-per-px;
  height: 198*@rem-per-px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/bg_Cardvoucher.png");
}

.coupon__content__item__bg{
  background: lightskyblue;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 350*@rem-per-px;
  height: 152*@rem-per-px;
  border-radius: 10*@rem-per-px;

}

.coupon__content__item__discount {
  position: absolute;
  top: 0;
  width: 100%;
  height: 90*@rem-per-px;
  font-size: 60*@rem-per-px;
  line-height: 90*@rem-per-px;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px dashed #ffffff;
}
.coupon__content__item__title {
  position: absolute;
  margin-top: 90*@rem-per-px;
  margin-bottom: 0;
  width: 100%;
  top: 0;
  text-align: center;
  color: #ffffff;
  line-height: 60*@rem-per-px;
  font-size: 24*@rem-per-px;
}

.coupon__content__item__bg > img{
  width: 100%;
  height: 100%;
}

.coupon__content__item__bg.purple{
  background-image: linear-gradient(90deg, #b055ff, #d2b1fb );
}

.coupon__content__item__bg.yellow{
  background-image: linear-gradient(90deg, #ffaf14, #febe48 );
}
.coupon__content__item__bg.blue{
  background-image: linear-gradient(90deg, #0ca1e8, #66cbfb );
}

.coupon__content__letter_back {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  bottom: -95px;
  width: 530*@rem-per-px;
  height: 360*@rem-per-px;
  background-color: #f567cc;
}

.coupon__content__letter_front {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  bottom: -95px;
  width: 530*@rem-per-px;
  height: 260*@rem-per-px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/front.png");
}

.letter_front__congratulation{
  font-size: 36*@rem-per-px;
  color: #ffffff;
  text-align: center;
  margin-top: 120*@rem-per-px;
  margin-bottom: 24*@rem-per-px;
}
.letter_front__check{
  display: block;
  margin: 0 auto;
  width: 210*@rem-per-px;
  height: 46*@rem-per-px;
  text-align: center;
  line-height: 46*@rem-per-px;
  font-size: 24*@rem-per-px;
  color: #ffffff;
  text-decoration: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 23*@rem-per-px;;
}